package com.zboin.ucenter.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @author zhboom
 * @date 2025/8/4 23:15
 */
@TableName(schema = "user_center", value = "permission")
public class Permission implements Serializable {

    @TableId(value = "permit_id")
    private Integer permit_Id;
    @TableField(value = "permit_key")
    private String permit_Key;
    @TableField(value = "description")
    private String description;
    @TableLogic(value = "1", delval = "0")
    private Integer is_Valid;

    public Integer getPermit_Id() {
        return permit_Id;
    }

    public void setPermit_Id(Integer permit_Id) {
        this.permit_Id = permit_Id;
    }

    public String getPermit_Key() {
        return permit_Key;
    }

    public void setPermit_Key(String permit_Key) {
        this.permit_Key = permit_Key;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIs_Valid() {
        return is_Valid;
    }

    public void setIs_Valid(Integer is_Valid) {
        this.is_Valid = is_Valid;
    }
}
